package com.lsyw.intergrate.serviceImpl;

import com.lsyw.intergrate.entity.JcMassifFactorValueLog;
import com.lsyw.intergrate.mapper.JcMassifFactorValueLogMapper;
import com.lsyw.intergrate.service.JcMassifFactorValueLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 监测数据日志表 服务实现类
 * </p>
 *
 * @author 刘磊
 * @since 2023-12-20
 */
@Service
public class JcMassifFactorValueLogServiceImpl extends ServiceImpl<JcMassifFactorValueLogMapper, JcMassifFactorValueLog> implements JcMassifFactorValueLogService {

    @Override
    public JcMassifFactorValueLog getOneByDeviceNoAndCn(String code, String cn) {
        return baseMapper.getOneByDeviceNoAndCn(code,cn);
    }
    @Override
    public JcMassifFactorValueLog getOneByMassif(String massifId, String cn) {
        return baseMapper.getOneByMassif(massifId,cn);
    }
}
